Total Complexity | 36 |
Dependencies | 20 |
Dependents | 1 |
Total lines | 429 |
Lines of code | 232 |
Logical lines of code | 78 |
Comment lines | 117 |
Methods | 12 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
handleBeforeGateway() | 35 | 7 | 95 | |
maybeRefundOnGateway() | 56 | 7 | 18 | |
addOptRefundCheckbox() | 52 | 2 | 39 | |
validateDonationFormStatus() | 61 | 3 | 13 | |
getGatewayDataSuccessUrl() | 66 | 3 | 8 | |
getGatewayDataFailedUrl() | 66 | 3 | 8 | |
setSession() | 67 | 3 | 7 | |
getOrCreateDonor() | 60 | 2 | 15 | |
validateGatewayNonce() | 62 | 2 | 12 | |
getGatewayDataCancelUrl() | 75 | 2 | 4 | |
getLegacyFormFieldMarkup() | 79 | 1 | 3 | |
addUrlsToGatewayData() | 64 | 1 | 10 |